package com.pac.weixin.bean;

import java.io.Serializable;

/**
 * 微信用户信息，从微信平台获取到的用户信息
 * 
 * @author lujun.chen
 * @version [版本号, 2015年3月27日]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public class WxUserBean implements Serializable {

	private static final long serialVersionUID = 8224034381001713329L;

	/**
	 * 主键
	 */
	private String id;

	/**
	 * 微信openID
	 */
	private String openid;

	/**
	 * 微信昵称
	 */
	private String nickname;

	/**
	 * 用户的性别，值为1时是男性，值为2时是女性，值为0时是未知
	 */
	private String sex;

	/**
	 * 省份
	 */
	private String province;

	/**
	 * 城市
	 */
	private String city;

	/**
	 * 国家
	 */
	private String country;

	/**
	 * 头像
	 */
	private String headimgurl;

	/**
	 * 创建时间
	 */
	private String createDate;

	/**
	 * 关注状态 0：关注 1：取消关注
	 */
	private String subscribe;
	
	/**
	 * 取消关注时间
	 */
	private String unsubscribeDate;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getHeadimgurl() {
		return headimgurl;
	}

	public void setHeadimgurl(String headimgurl) {
		this.headimgurl = headimgurl;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public String getSubscribe() {
		return subscribe;
	}

	public void setSubscribe(String subscribe) {
		this.subscribe = subscribe;
	}

	public String getUnsubscribeDate() {
		return unsubscribeDate;
	}

	public void setUnsubscribeDate(String unsubscribeDate) {
		this.unsubscribeDate = unsubscribeDate;
	}
	
}
